{% extends "base.html" %} {% block contents %}

팝빌 카카오톡 Django Example.


브랜드 메시지 템플릿 목록 확인 {% for template in templateList %}
템플릿목록 [ {{ forloop.counter }} / {{ templateList|length }} ]
  • templateCode (템플릿 코드) : {{ template.templateCode }}
  • templateType (템플릿 유형) : {{ template.templateType }}
  • templateName (템플릿 제목) : {{ template.templateName }}
  • plusFriendID (검색용 아이디) : {{ template.plusFriendID }}
  • adultYN (성인용 메시지 여부) : {{ template.adultYN }}
  • header (제목) : {{ template.header }}
  • content (내용) : {{ template.content }}
  • addContent (부가메시지) : {{ template.addContent }}
  • imageUrl (이미지 URL) : {{ template.imageUrl }}
  • imageLink (이미지 링크 URL) : {{ template.imageLink }}
  • state (템플릿 상태) : {{ template.state }}
  • stateDT (템플릿 상태 일시) : {{ template.stateDT }}
  • {% if template.btns %} {% for btn in template.btns %}
    btns (버튼 목록) [ {{ forloop.counter }} / {{ template.btns|length }} ]
    • t (버튼유형) : {{ btn.t }}
    • n (버튼명) : {{ btn.n }}
    • u1 (버튼링크) : {{ btn.u1 }}
    • u2 (버튼링크) : {{ btn.u2 }}
    {% endfor %} {% endif %} {% if template.coupon %}
    coupon (쿠폰 강조)
    • title (쿠폰 제목) : {{ template.coupon.title }}
    • description (쿠폰 설명) : {{ template.coupon.description }}
    • linkMobile (Mobile 웹링크) : {{ template.coupon.linkMobile }}
    • linkPc (PC 웹링크) : {{ template.coupon.linkPc }}
    • linkAndroid (Android 앱링크) : {{ template.coupon.linkAndroid }}
    • linkIos (iOS 앱링크) : {{ template.coupon.linkIos }}
    {% endif %} {% if template.item %} {% for it in template.item %}
    item (아이템 목록) [ {{ forloop.counter }} / {{ template.item|length }} ]
    • title (타이틀) : {{ it.title }}
    • imageUrl (이미지 URL) : {{ it.imageUrl }}
    • linkMobile (Mobile 웹링크) : {{ it.linkMobile }}
    • linkPc (PC 웹링크) : {{ it.linkPc }}
    • linkAndroid (Android 앱링크) : {{ it.linkAndroid }}
    • linkIos (iOS 앱링크) : {{ it.linkIos }}
    {% endfor %} {% endif %} {% if template.commerce %}
    commerce (커머스 정보)
    • title (상품명) : {{ template.commerce.title }}
    • regularPrice (정상가격) : {{ template.commerce.regularPrice }}
    • discountPrice (할인가격) : {{ template.commerce.discountPrice }}
    • discountRate (할인율) : {{ template.commerce.discountRate }}
    • discountFixed (할인금액) : {{ template.commerce.discountFixed }}
    {% endif %} {% if template.head %}
    head (캐러셀 인트로)
    • header (제목) : {{ template.head.header }}
    • content (내용) : {{ template.head.content }}
    • imageUrl (이미지 URL) : {{ template.head.imageUrl }}
    • linkMobile (Mobile 웹링크) : {{ template.head.linkMobile }}
    • linkPc (PC 웹링크) : {{ template.head.linkPc }}
    • linkAndroid (Android 앱링크) : {{ template.head.linkAndroid }}
    • linkIos (iOS 앱링크) : {{ template.head.linkIos }}
    {% endif %} {% if template.carousel %} {% for car in template.carousel %}
    carousel (캐러셀 목록) [ {{ forloop.counter }} / {{ template.carousel|length }} ]
    • header (제목) : {{ car.header }}
    • content (내용) : {{ car.content }}
    • imageUrl (이미지 URL) : {{ car.imageUrl }}
    • imageLink (이미지 링크 URL) : {{ car.imageLink }}
    • addContent (부가메시지) : {{ car.addContent }}
    • {% if car.commerce %}
      commerce (커머스)
      • title (상품명) : {{ car.commerce.title }}
      • regularPrice (정상가격) : {{ car.commerce.regularPrice }}
      • discountPrice (할인가격) : {{ car.commerce.discountPrice }}
      • discountRate (할인율) : {{ car.commerce.discountRate }}
      • discountFixed (할인금액) : {{ car.commerce.discountFixed }}
      {% endif %} {% if car.btns %} {% for btn in car.btns %}
      btns (버튼 목록) [ {{ forloop.counter }} / {{ car.btns|length }} ]
      • t (버튼유형) : {{ btn.t }}
      • n (버튼명) : {{ btn.n }}
      • u1 (버튼링크) : {{ btn.u1 }}
      • u2 (버튼링크) : {{ btn.u2 }}
      {% endfor %} {% endif %} {% if car.coupon %}
      coupon (쿠폰 강조)
      • title (쿠폰 제목) : {{ car.coupon.title }}
      • description (쿠폰 설명) : {{ car.coupon.description }}
      • linkMobile (Mobile 웹링크) : {{ car.coupon.linkMobile }}
      • linkPc (PC 웹링크) : {{ car.coupon.linkPc }}
      • linkAndroid (Android 앱링크) : {{ car.coupon.linkAndroid }}
      • linkIos (iOS 앱링크) : {{ car.coupon.linkIos }}
      {% endif %}
    {% endfor %} {% endif %} {% if template.tail %}
    tail (캐러셀 더보기)
    • linkMobile (Mobile 웹링크) : {{ template.tail.linkMobile }}
    • linkPc (PC 웹링크) : {{ template.tail.linkPc }}
    • linkAndroid (Android 앱링크) : {{ template.tail.linkAndroid }}
    • linkIos (iOS 앱링크) : {{ template.tail.linkIos }}
    {% endif %}
{% endfor %}
{% endblock contents %}